package com.util;

import com.Bean.RentBean;
import jdk.nashorn.internal.ir.CallNode;

import java.sql.Connection;

public class SingletonThreadLocalAliPay {
    public static ThreadLocal<RentBean> threadLocal  = new ThreadLocal<>();

    private SingletonThreadLocalAliPay() {
    }

    public static RentBean getThreadLocal() {
        return threadLocal.get();
    }

    public static void setThreadLocal(RentBean rent) {
        threadLocal.set(rent);
    }
}
